package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: woniu
 * @date: 2024/1/10 9:24
 */
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("n_user_subscription")
@ApiModel(value="NuserSubscription对象", description="用户订阅表")
public class NuserSubscription implements Serializable {
    private static final long serialVersionUID = 6675387666369920984L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private String nuserId;

    /**
     * 模板ID
     */
    private Integer templateId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
